﻿//暂不使用，本类将被整合到SetTurnTableAndThermostatDialog中
#pragma once

#include <QDialog>
#include "ui_SetPositionModeDialogUi.h"


class SetPositionModeDialog : public QDialog
{
	Q_OBJECT

private:
	Ui_SetPositionModeDialog ui;

public:
	explicit SetPositionModeDialog(QWidget* parent = Q_NULLPTR);
	virtual ~SetPositionModeDialog();

public slots:
	int exec() override;
	void accept() override;

public:
	float getPosition();
	float getRate();
	float getAcceleration();

	//geter and seter
public:
	int getAccuracy();
	void setAccuracy(int accuracy);
	float getTurnTablePositionUpperLimit();
	void setTurnTablePositionUpperLimit(float turnTablePositionUpperLimit);
	float getTurnTablePositionLowerLimit();
	void setTurnTablePositionLowerLimit(float turnTablePositionLowerLimit);
	float getTurnTableRateUpperLimit();
	void setTurnTableRateUpperLimit(float turnTableRateUpperLimit);
	float getTurnTableRateLowerLimit();
	void setTurnTableRateLowerLimit(float turnTableRateLowerLimit);
	float getTurnTableAccelerationUpperLimit();
	void setTurnTableAccelerationUpperLimit(float  turnTableAccelerationUpperLimit);
	float getTurnTableAccelerationLowerLimit();
	void setTurnTableAccelerationLowerLimit(float turnTableAccelerationLowerLimit);
};
